﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Container
{
    public class User
    {
        [Key]
        public int id_user { get; set; }
        [Required]
        public string User_name {get; set;}
        [Required]
        public string User_password { get; set; }
        [Required]
        public string User_Role { get; set; }

        public User(int id, string name, string pas, string role)
        {
            id_user = id;
            User_name = name;
            User_password = pas;
            User_Role = role;
        }
    }
}
